import http from '@/mixins/http.js'

export default {
  mixins: [http()],
  created() {
    this.$http('/menus').then(res => {
      // ... existing code ...
    })
  })
}